﻿using Ss.Model;
using Vici.CoolStorage;
using Vici.Mvc;
namespace web
{
    public class AdminDefault : AdminController
    {

        [View("Admin/Default")]
        [Url("Admin/default")]
        public void Run()
        {



            this.ChangeLayout("Master/EasyUIMaster");
            ViewData["User"] = Session.User.LoginID;

            #region 菜单列表
            CSList<Menu> menuList = Menu.List("FID=@FID", "@FID", "0");
            ViewData["MenuList"] = menuList;
            ViewData["ChildList"] = Menu.All();
            #endregion
        }

    }
}